package org.itheima.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.itheima.pojo.UserSearchHistory;
import org.itheima.pojo.Warehouse;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserSearchHistoryMapper {

    @Select("select * from usersearchhistory where user_id=#{id}")
    List<Map<String,Object>> findById(int id);


}
